<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>HtmlSanitizer (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>

  <script type="text/javascript" src="//www.google.com/jsapi"></script>
  <script type="text/javascript">
     google.load("visualization", "1", {packages:["orgchart"]});
     var _loadingVisualizations = true;
  </script>

  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
        <span class="fn">string.html.HtmlSanitizer</span>
        <span>Extends</span>
        <span class="fn-name">
          <a href="class_goog_string_html_HtmlSaxHandler.html">
          goog.string.html.HtmlSaxHandler
</a>
        </span>
</div>

<div class="g-section g-tpl-75-25">
  <div class="g-unit g-first" id="description">
    An implementation of the <code>goog.string.HtmlSaxHandler</code> interface that
will take each of the html tags and sanitize it.
  </div>


        <div class="g-unit" id="useful-links">
          <div class="title">Useful links</div>
          <ol>
            <li><a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html"><span class='source-code-link'>Source Code</span></a></li>
            <li><a href="http://code.google.com/p/closure-library/source/browse/closure/third_party/closure/goog/caja/string/html/htmlsanitizer.js">Git</a></li>
          </ol>
        </div>
</div>






<h2 class="g-first">Inheritance</h2>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
  <tr><td><span class="type"><a href="class_goog_string_html_HtmlSaxHandler.html">goog.string.html.HtmlSaxHandler</a></span></td><td></td></tr>
  <tr><td>goog.string.html.HtmlSanitizer</td><td><span class="type"><a href="class_goog_string_html_HtmlSaxHandler.html">goog.string.html.HtmlSaxHandler</a></span></td></tr>
</table>
</div>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
</table>
</div>




  <h2>Constructor</h2>
      <div class="fn-constructor">
    goog.string.html.HtmlSanitizer(<span><span class="arg">stringBuffer</span>,&nbsp;<span class="arg">opt_urlPolicy</span>,&nbsp;<span class="arg">opt_nmTokenPolicy</span></span>)
  </div>

   <h3>Parameters</h3>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">stringBuffer</span>
        : <div class="fullType">(<span class="type"><a href="class_goog_string_StringBuffer.html">goog.string.StringBuffer</a></span><span>&nbsp;|&nbsp;</span><span class="type">null</span>)</div>
        <div class="entryOverview">A string buffer, used to output the html as we sanitize it.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_urlPolicy</span>
        : <div class="fullType">(<span class="type">function (string): string</span><span>&nbsp;|&nbsp;</span><span class="type">null</span>)</div>
        <div class="entryOverview">An optional function to be applied in URLs.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_nmTokenPolicy</span>
        : <div class="fullType">(<span class="type">function (string): string</span><span>&nbsp;|&nbsp;</span><span class="type">null</span>)</div>
        <div class="entryOverview">An optional function to be applied in names.</div>
     </td>
   </tr>
  </table>


<h2>Instance Methods</h2>


  <div class="legend">
        <span class="key publickey"></span><span>Public</span>
        <span class="key protectedkey"></span><span>Protected</span>
        <span class="key privatekey"></span><span>Private</span>
  </div>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_string_html_HtmlSanitizer.html">
              goog.string.html.HtmlSanitizer
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSanitizer.prototype.cdata"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">cdata<span class="args">(<span class="arg">text</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">text</span>
        : 
        <div class="entryOverview"><span class='nodesc'>No description.</span></div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line502">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSanitizer.prototype.endDoc"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">endDoc<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line521">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSanitizer.prototype.endTag"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">endTag<span class="args">(<span class="arg">tagName</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">tagName</span>
        : 
        <div class="entryOverview"><span class='nodesc'>No description.</span></div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line433">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSanitizer.prototype.escapeAttrib_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">escapeAttrib_<span class="args">(<span class="arg">s</span>)</span>
        </span>
        &#8658; <div class="fullType"><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
      </div>


     <div class="entryOverview">
       Escapes HTML special characters in attribute values as HTML entities.

TODO(user): use <code>goog.string.htmlEscape</code> instead ?
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">s</span>
        : <div class="fullType"><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">The string to be escaped.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType"><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>&nbsp;
            An escaped version of <code>s</code>.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line537">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSanitizer.prototype.nmTokenPolicy_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">nmTokenPolicy_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       A function to be applied to names fround on the parsing process.
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line133">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSanitizer.prototype.pcdata"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">pcdata<span class="args">(<span class="arg">text</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">text</span>
        : 
        <div class="entryOverview"><span class='nodesc'>No description.</span></div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line482">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSanitizer.prototype.rcdata"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">rcdata<span class="args">(<span class="arg">text</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">text</span>
        : 
        <div class="entryOverview"><span class='nodesc'>No description.</span></div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line492">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSanitizer.prototype.sanitizeAttributes_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">sanitizeAttributes_<span class="args">(<span class="arg">tagName</span>,&nbsp;<span class="arg">attribs</span>)</span>
        </span>
        &#8658; <div class="fullType">(<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;(<span class="type">null</span><span>&nbsp;|&nbsp;</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>)&gt;<span>&nbsp;|&nbsp;</span><span class="type">null</span>)</div>
      </div>


     <div class="entryOverview">
       Sanitizes attributes found on html entities.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">tagName</span>
        : <div class="fullType"><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">The name of the tag in which the <code>attribs</code> were found.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">attribs</span>
        : <div class="fullType">(<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;(<span class="type">null</span><span>&nbsp;|&nbsp;</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>)&gt;<span>&nbsp;|&nbsp;</span><span class="type">null</span>)</div>
        <div class="entryOverview">An array of attributes.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<div class="fullType">(<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;(<span class="type">null</span><span>&nbsp;|&nbsp;</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>)&gt;<span>&nbsp;|&nbsp;</span><span class="type">null</span>)</div>&nbsp;
            A sanitized version of the <code>attribs</code>.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line555">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSanitizer.prototype.startDoc"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">startDoc<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line512">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSanitizer.prototype.startTag"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">startTag<span class="args">(<span class="arg">tagName</span>,&nbsp;<span class="arg">attribs</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">tagName</span>
        : 
        <div class="entryOverview"><span class='nodesc'>No description.</span></div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">attribs</span>
        : 
        <div class="entryOverview"><span class='nodesc'>No description.</span></div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line395">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSanitizer.prototype.urlPolicy_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">urlPolicy_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       A function to be applied to urls found on the parsing process.
     </div>

   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line126">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>

<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_string_html_HtmlSaxHandler.html">
              goog.string.html.HtmlSaxHandler
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSaxHandler.prototype.cdata"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">cdata<span class="args">(<span class="arg">text</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Handler called when CDATA is found.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">text</span>
        : <div class="fullType"><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">The CDATA text found.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlparser.js.source.html#line599">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSaxHandler.prototype.endTag"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">endTag<span class="args">(<span class="arg">name</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Handler called when the parser found a closing tag.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">name</span>
        : <div class="fullType"><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">The name of the tag that is ending.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlparser.js.source.html#line578">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSaxHandler.prototype.pcdata"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">pcdata<span class="args">(<span class="arg">text</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Handler called when PCDATA is found.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">text</span>
        : <div class="fullType"><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">The PCDATA text found.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlparser.js.source.html#line585">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSaxHandler.prototype.rcdata"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">rcdata<span class="args">(<span class="arg">text</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Handler called when RCDATA is found.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">text</span>
        : <div class="fullType"><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">The RCDATA text found.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlparser.js.source.html#line592">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.string.html.HtmlSaxHandler.prototype.startTag"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">startTag<span class="args">(<span class="arg">name</span>,&nbsp;<span class="arg">attributes</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Handler called when the parser found a new tag.
     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">name</span>
        : <div class="fullType"><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span></div>
        <div class="entryOverview">The name of the tag that is starting.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">attributes</span>
        : <div class="fullType">(<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;<span>&nbsp;|&nbsp;</span><span class="type">null</span>)</div>
        <div class="entryOverview">The attributes of the tag.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlparser.js.source.html#line571">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Instance Properties</h2>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_string_html_HtmlSanitizer.html">
              goog.string.html.HtmlSanitizer
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.string.html.HtmlSanitizer.prototype.ignoring_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">ignoring_</span>
        : <div class="fullType"><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span></div>
     </div>


     <div class="entryOverview">
       Whether we are ignoring what is being processed or not.
     </div>

  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line119">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.string.html.HtmlSanitizer.prototype.stack_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">stack_</span>
        : <div class="fullType">(<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span><span>&nbsp;|&nbsp;</span><span class="type">null</span>)</div>
     </div>


     <div class="entryOverview">
       A stack that holds how the handler is being called.
     </div>

  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line112">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.string.html.HtmlSanitizer.prototype.stringBuffer_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">stringBuffer_</span>
        : <div class="fullType">(<span class="type"><a href="class_goog_string_StringBuffer.html">goog.string.StringBuffer</a></span><span>&nbsp;|&nbsp;</span><span class="type">null</span>)</div>
     </div>


     <div class="entryOverview">
       The string buffer that holds the sanitized version of the html. Used
during the parse time.
     </div>

  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line105">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>










<div class="section">
  <table class="horiz-rule">


  </table>
</div>









<div class="section">
  <table class="horiz-rule">


  </table>
</div>



<h2>Enumerations</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.string.html.HtmlSanitizer.AttributeType"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.string.html.HtmlSanitizer.</span><span class="entryName">AttributeType</span>
        : 
     </div>


     <div class="entryOverview">
       The HTML types the parser supports.
     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  STYLE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  ID
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  GLOBAL_NAME
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  IDREF
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  URI_FRAGMENT
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  CLASSES
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  SCRIPT
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  URI
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  IDREFS
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  LOCAL_NAME
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  NONE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  FRAME_TARGET
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line145">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.string.html.HtmlSanitizer.Attributes"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.string.html.HtmlSanitizer.</span><span class="entryName">Attributes</span>
        : 
     </div>


     <div class="entryOverview">
       A map of attributes to types it has.
     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="closure_third_party_closure_goog_caja_string_html_htmlsanitizer.js.source.html#line165">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Package string.html</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">Package Reference</h2>
            <div id="sideTypeIndex" rootPath="" current="string.html.HtmlSanitizer"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
